<input type="password" class="layui-input" name="<?php echo $name ?>" id="<?php echo isset($id) ? $id : $name ?>" />